﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;

namespace DALayer
{
    public class ALTableInfoDAL
    {
        /// <summary>
        /// 添加申请订单
        /// </summary>
        /// <param name="al"></param>
        /// <returns></returns>
        public static Boolean ALTableAdd(ALTableInfo al)
        {
            string sql = $"insert into ALTable(LongID,UserID,ALStatus) values('{al.LongID}','{al.UserID}','{al.ALStatus}')";
            return DBHelper.UTNonQuery(sql)>0;
        }
    }
}
